import http from "@/utils/http";

export async function getSetSkillGroupList(body) {
	return http.postFormData("/skillGroup/getSetSkillGroupList", body);
}

export async function editSetSkillGroupInfo(body) {
	return http.post("/skillGroup/editSetSkillGroupInfo", body);
}

export async function getSetGroupUserList(body) {
	return http.postFormData("/skillGroup/getSetGroupUserList", body);
}

export async function saveSkillGroupInfoUsers(body) {
	return http.postFormData("/skillGroup/saveSkillGroupInfoUsers", body);
}

export async function deleteSetSkillGroupUsers(body) {
	return http.postFormData("/skillGroup/deleteSetSkillGroupUsers", body);
}

export async function getUserList(body) {
	return http.postFormData("/skillGroup/getUserList", body);
}

export async function deleteSetSkillGroup(body) {
	return http.postFormData("/skillGroup/deleteSetSkillGroup", body);
}

export async function getUsersByTenantId(body) {
	return http.postFormData('/skillGroup/getUsersByTenantId', body);
}
